package com.guan.ordering_sys.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @Description PostVo
 * @Author 关远键
 * @Version v1.0.3
 * @Date 2021/6/27 21:45
 */
@Data
@ApiModel("角色视图")
public class PostVo {

    @ApiModelProperty("角色编号")
    private Integer id;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("角色状态：0不启用1启用")
    private Integer status;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;
}
